﻿using FFIV.Lib.Controlers.Articles;
using FFIV.Lib.Utilities;
using FFIV.Lib.WebExtension;

public partial class Articles_Search : FFWebPageBase
{
	private ArticleSearchController m_Controller;

	protected override void InitialFileds()
	{
		m_Controller = new ArticleSearchController(uc_ArticlesList, uc_ArticlesMiniList);
		uc_ArticlesList.PageSize = 10;
	}

	protected override void BindingEvents()
	{
		uc_ArticlesList.RegistEvents();
		uc_ArticlesMiniList.RegisteEvents();
	}

	public override void ShowMessage()
	{
		m_Controller.LoadPage();
	}

	public override Permissions RequiredPermission
	{
		get { return Permissions.Anonymous; }
	}
}
